"""

"""
import mongoengine as db

db.connect('test', host='mongomock://localhost')


class User(db.Document):
    name = db.StringField()

    def __str__(self):
        return self.name


User(name='tom').save()
User(name='pob').save()

queryset = User.objects
print(type(queryset))

for obj in queryset:
    print(obj)
